package com.livelab.user;

import java.sql.Timestamp;

/**
 * Student
 * 
 * @author Dakota
 */
public class Student {
    private String signupCode;
    private String userName;
    private String password;
    private String courseId;
    private String email;
    private String firstName;
    private String lastName;
    private String major;
    
    public Student(){};
    
    /*
     * GETTERS
     */
    public String getCourseId() {
        return courseId;
    }

    public String getEmail() {
        return email;
    }

    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public String getPassword() {
        return password;
    }

    public String getSignupCode() {
        return signupCode;
    }

    public String getMajor() {
        return major;
    }

    public String getUserName() {
        return userName;
    }
    
    public void setMajor(String major) {
        this.major = major;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setSignupCode(String signupCode) {
        this.signupCode = signupCode;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    //toArray
    public Object[] toArray(Timestamp timestamp){
        return new Object[]{userName, password, lastName, firstName, email, courseId, major, timestamp};
    }
}
